home *** CD-ROM | disk | FTP | other *** search
/ Champak 40 / Vol 40.iso / games / whomp.swf / scripts / DefineSprite_341 / frame_38 / DoAction.as
Encoding:
Text File  |  2007-04-20  |  351 b   |  20 lines

  1. if(_root.delayVal > _root.delayMax)
  2. {
  3.    _root.level = _root.level + 1;
  4.    if(_root.level > _root.levelMax)
  5.    {
  6.       _root.section = 6;
  7.       _global.gClear = true;
  8.    }
  9.    else if(_root.level <= _root.levelMax)
  10.    {
  11.       _root.section = 3;
  12.    }
  13.    this.gotoAndPlay(this._currentframe + 1);
  14. }
  15. else
  16. {
  17.    prevFrame();
  18.    play();
  19. }
  20.